﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Source.aspx.cs" Inherits="HFWebManage.Source.Source" ValidateRequest="false" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <link href="../css/main.css" type="text/css" rel="stylesheet">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="../themes/base/jquery.ui.all.css">
    <script type="text/javascript" src="../js/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="../js/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../js/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../js/jquery.ui.datepicker.js"></script>
    <script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
    <script type="text/javascript">
        function ConfirmDel(el_message) {
            if (confirm(el_message)) {
                return true;
            }
            else {
                return false;
            }
        } 
        $(function () {
            $("#<%=tbAddtime.ClientID %>").datepicker();
        });
    </script>
    <style type="text/css">
        .style1
        {
            width: 15%;
        }
    </style>
</head>
<form id="theForm" runat="server">
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  <br />
    <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
        border="0">
        
        <tr>
            <th colspan="3">
                增加/修改   资料</th>
        </tr>
        <tr>
          <td class="usertablerow1">所属资料库</td>
          <td class="usertablerow1">
             <asp:DropDownList ID="dropSourceID" runat="server">
                </asp:DropDownList>
          </td>
          <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow2" width="15%">标题：</td>
            <td class="usertablerow2">
                <asp:TextBox ID="tbTitle" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow2" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow2" width="15%">作者：</td>
            <td class="usertablerow2">
                <asp:TextBox ID="tbAuthor" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow2" width="25%"></td>
        </tr>
        <tr>
          <td class="usertablerow1">省份</td>
          <td class="usertablerow1">
             <asp:DropDownList ID="DropProvinceID" runat="server" AutoPostBack="True" 
                  onselectedindexchanged="DropProvinceID_SelectedIndexChanged">
                </asp:DropDownList>
          </td>
          <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
          <td class="usertablerow1">城市</td>
          <td class="usertablerow1">
            <asp:DropDownList ID="DropCityID" runat="server" AutoPostBack="False" >
                </asp:DropDownList>
          </td>
          <td class="usertablerow1" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow2" width="15%">发布时间：</td>
            <td class="usertablerow2">
                <asp:TextBox ID="tbAddtime" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow2" width="25%"></td>
        </tr>
        <tr>
            <td class="usertablerow2" width="15%">来源：</td>
            <td class="usertablerow2">
                <asp:TextBox ID="tbReSource" runat="server" Width="216px"></asp:TextBox>
            </td>
            <td class="usertablerow2" width="25%"></td>
        </tr>
       <tr>
            <td class="usertablerow1">
                <div align="left">内容</div>
            </td>
            <td class="usertablerow1">
                <asp:TextBox ID="tbContent" runat="server" Height="99px" TextMode="MultiLine" 
                    Width="383px"></asp:TextBox>
                    <script type="text/javascript">
                        CKEDITOR.replace('<%= tbContent.ClientID %>',
                                 {
                                     filebrowserBrowseUrl: '../ckfinder/ckfinder.html',
                                     filebrowserImageBrowseUrl: '../ckfinder/ckfinder.html?Type=Images',
                                     filebrowserFlashBrowseUrl: '../ckfinder/ckfinder.html?Type=Flash',
                                     filebrowserUploadUrl: '../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
                                     filebrowserImageUploadUrl: '../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
                                     filebrowserFlashUploadUrl: '../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
                                 }
                                );  
                      </script>
            </td>
            <td class="usertablerow1">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="usertablerow1">&nbsp;
                </td>
            <td class="usertablerow1">
                <div align="left">
                    <asp:Button ID="Button1" runat="server" Text="保存" onclick="Button1_Click"/>
                    <asp:HiddenField ID="IDS" runat="server" />
                </div>
            </td>
            <td class="usertablerow1">&nbsp;</td>
        </tr>
        
    </table>
</body>
</form>
</html>
